package com.zlm.custom.spring;

/**
 * @author zlm
 * @date 2025/4/27
 */
@Component
public class MyBeanPostProcessor implements BeanPostProcessor{
    @Override
    public Object beforeInitializeBean(Object bean, String beanName) {
        return bean;
    }

    @Override
    public Object afterInitializeBean(Object bean, String beanName) {
        System.out.println(beanName+"初始化完成");
        return bean;
    }
}
